package com.nantong.admin.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nantong.admin.domain.Customer;
import com.nantong.admin.domain.model.request.customer.CustomerSearch;
import com.nantong.admin.domain.model.response.customer.CustomerVo;
import com.nantong.common.mybatis.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 客户Mapper接口
 */
@Mapper
public interface CustomerMapper extends BaseMapperPlus<Customer, CustomerVo> {



    default Page<CustomerVo> selectPageList(Page<Customer> build, Wrapper<Customer> customerWrapper){
        return this.selectVoPage(build,customerWrapper);
    }

}
